package com.yingma.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (JcCarrier)实体类
 *
 * @author makejava
 * @since 2020-04-03 19:20:23
 */
public class JcCarrier implements Serializable {
    private static final long serialVersionUID = 726437353553972242L;

    private String id;

    private String code;

    private String createName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date createTime;

    private String description;

    private String field1;

    private String field2;

    private String field4;

    private String field3;

    private String modifyName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date modifyTime;

    private String name;

    private Integer status;
    /**
    * 联系地址
    */
    private String address;
    /**
    * 承运商类型
    */
    private Integer carrierType;
    /**
    * 合同结束日期
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date endTime;
    /**
    * 承运商电话
    */
    private String iphone;
    /**
    * 是否启用
    */
    private Integer isEnabled;
    /**
    * 账期
    */
    private Integer paymentDays;
    /**
    * 负责人
    */
    private String principal;
    /**
    * 负责人电话
    */
    private String principalIphone;
    /**
    * 合同开始日期
    */

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date startTime;
    /**
    * 组织机构
    */
    private String jcOrganizationId;
    /**
    * 指定组织机构（承运商类型为自有时需要）
    */
    private String zdOrganizationId;
    /**
    * qqq
    */
    private String jcRuleId;

    /**
     * 总页数
     */
    @TableField(exist = false)
    private Integer TotalpageNum;

    /**
     * 总条数
     */
    @TableField(exist = false)
    private Integer TotalSize;

    /**
     * 组织机构
     */
    @TableField(exist = false)
    private JcSysOrganization organization;

    /**
     * 指定组织机构（承运商类型为自有时需要）
     */
    @TableField(exist = false)
    private JcSysOrganization zdOrganization;

    public JcSysOrganization getOrganization() {
        return organization;
    }

    public void setOrganization(JcSysOrganization organization) {
        this.organization = organization;
    }

    public JcSysOrganization getZdOrganization() {
        return zdOrganization;
    }

    public void setZdOrganization(JcSysOrganization zdOrganization) {
        this.zdOrganization = zdOrganization;
    }

    public Integer getTotalpageNum() {
        return TotalpageNum;
    }

    public void setTotalpageNum(Integer totalpageNum) {
        TotalpageNum = totalpageNum;
    }

    public Integer getTotalSize() {
        return TotalSize;
    }

    public void setTotalSize(Integer totalSize) {
        TotalSize = totalSize;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getField1() {
        return field1;
    }

    public void setField1(String field1) {
        this.field1 = field1;
    }

    public String getField2() {
        return field2;
    }

    public void setField2(String field2) {
        this.field2 = field2;
    }

    public String getField4() {
        return field4;
    }

    public void setField4(String field4) {
        this.field4 = field4;
    }

    public String getField3() {
        return field3;
    }

    public void setField3(String field3) {
        this.field3 = field3;
    }

    public String getModifyName() {
        return modifyName;
    }

    public void setModifyName(String modifyName) {
        this.modifyName = modifyName;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getCarrierType() {
        return carrierType;
    }

    public void setCarrierType(Integer carrierType) {
        this.carrierType = carrierType;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getIphone() {
        return iphone;
    }

    public void setIphone(String iphone) {
        this.iphone = iphone;
    }

    public Integer getIsEnabled() {
        return isEnabled;
    }

    public void setIsEnabled(Integer isEnabled) {
        this.isEnabled = isEnabled;
    }

    public Integer getPaymentDays() {
        return paymentDays;
    }

    public void setPaymentDays(Integer paymentDays) {
        this.paymentDays = paymentDays;
    }

    public String getPrincipal() {
        return principal;
    }

    public void setPrincipal(String principal) {
        this.principal = principal;
    }

    public String getPrincipalIphone() {
        return principalIphone;
    }

    public void setPrincipalIphone(String principalIphone) {
        this.principalIphone = principalIphone;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getJcOrganizationId() {
        return jcOrganizationId;
    }

    public void setJcOrganizationId(String jcOrganizationId) {
        this.jcOrganizationId = jcOrganizationId;
    }

    public String getZdOrganizationId() {
        return zdOrganizationId;
    }

    public void setZdOrganizationId(String zdOrganizationId) {
        this.zdOrganizationId = zdOrganizationId;
    }

    public String getJcRuleId() {
        return jcRuleId;
    }

    public void setJcRuleId(String jcRuleId) {
        this.jcRuleId = jcRuleId;
    }

}
